/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: hp
 * Date: 2024-03-19
 * Time: 15:59
 */
class Solution {
    public String toLowerCase(String s) {
        String s1 = "";
        for(int i = 0; i < s.length(); i++) {
            if(s.charAt(i) >= 'A' && s.charAt(i) <= 'Z') {
                s1 += (char)(s.charAt(i) + 32);
            }
            else {
                s1 += s.charAt(i);
            }

        }
        return s1;
    }
}

public class Test {
    public static void main(String[] args) {
        int a = 10;
    }

    public static void main3(String[] args) {
        String s = ",,,,asd asd ";
        int count = 0;
        for (int i = 0; i < s.length(); i++) {
            if(s.charAt(i) == ',') {
                count++;
            }
        }
        System.out.println(count);
    }

    public static void main2(String[] args) {
        /*char ch = ' ';
        String s = "                    ";
        System.out.println(s.length());*/
    }

    /*public static void main1(String[] args) {
        char ch = 'a';
        ch = (char)(ch - 32);
        System.out.println(ch);
    }*/
}
